package com.earthea.chatbot.entity.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class AddChatReq {
    /**
     * 标题
     */
    @NotNull(message = "标题不能为空")
    @Size(min = 1, max = 10, message = "标题长度必须在1到64个字符之间")
    private String title;
}
